package com.tedu.entity;

public class IdCard {
    private Integer id;
    private String num;
    private String address;
    private Person person;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Person getPerson() {
        return person;
    }

    public void setPerson(Person person) {
        this.person = person;
    }

    @Override
    public String toString() {
        return "IdCard{" +
                "id=" + id +
                ", num='" + num + '\'' +
                ", address='" + address + '\'' +
                ", person=" + person +
                '}';
    }
}
